import { nextTick } from 'vue';
 
export default {
  mounted(el) {
    // 确保元素挂载，数据被解析后，
    nextTick().then(() => {
      el.focus();
    });
  }
}